package com.mtt.erp.goods.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.*;

/**
 * @Description: 分类表category
 * @Author: guomengzhou
 * @CreateDate: 2019/6/4$ 14:11
 * @Version: 1.0
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@Excel("分类表")
public class TCategory implements Serializable {

    private static final long serialVersionUID = 1L;
    public static String topCategoryParentId = "0";
    /**
     * 分类Id
     */
    @TableId(value = "id",type = IdType.UUID)
    @ExcelField(value = "分类Id")
    private String id;
    /**
     * 父级分类Iid
     */
    @ExcelField(value = "父级分类Id")
    private String parentId;

    /**
     * 类别编号
     */
    @ExcelField(value = "分类编号")
    private String code;

    /**
     * 类别名称
     */
    @ExcelField(value = "分类名称")
    private String name;

    /**
     * 排序字段
     */
    @ExcelField(value = "排序字段")
    private Double sort;


}
